package com.edu.mapper;

import com.edu.javaBean.MedicalRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface MedicalRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MedicalRecord record);

    int insertSelective(MedicalRecord record);

    MedicalRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MedicalRecord record);

    int updateByPrimaryKey(MedicalRecord record);

    //查询病历信息
    Map<String, Object> getRecord(Map<String, Object> map);

    void updateRecord(MedicalRecord record);
}